package com.mytool.convert;


import com.mytool.domain.TableDomain;
import com.mytool.dto.TableDto;
import com.mytool.model.TableMetaData;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = "spring")
public interface TableConvert {
    TableConvert INSTANCE = Mappers.getMapper(TableConvert.class);

    TableMetaData convert(TableDomain tableDomain);

    TableDto do2Dto(TableDomain domain);
}
